 package com.github.niefy.modules.wx.entity;

 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.github.niefy.common.utils.Json;
 import lombok.Builder;
 import lombok.Data;

 import java.io.Serializable;
 import java.sql.Timestamp;

 /**
  * 用户订阅通知生效中记录
  * @author liuxy
  * @date 2022-12-16
  */
 @Data
 @Builder
 @TableName("wx_user_sub_template_msg")
 public class WxUserSubMsg implements Serializable {
     private static final long serialVersionUID = 1L;
     @TableId(type = IdType.AUTO)
     private Long id;
     private String appid;
     private String templateId;
     private String fromUser;
     private String popupScene;
     private Timestamp createTimestamp;

     @Override
     public String toString() {
         return Json.toJsonString(this);
     }

 }
